<div class="page" data-page="pledgeEvaluationSheet" id="pledgeEvaluationSheet">
	<div class="announcement-title">
		<div class="announcement-title-tip">质物价值评估表</div>
		<!--<a href="javascript:void(0);" class="createBlankInfo">新建账户</a>-->
	</div>
	<div class="table_type search_table">
		<div id="middle_set" class="middle_set">
			<span class="mr20">
				客户名称：<input isNull="1" codeName="客户名称" class="title_search" type="text" name="enterpriseName">
			</span>
			<span class="mr20">
			</span>
			<span class="mr20">
				起止时间：<input readonly="readonly" onfocus="WdatePicker({})" style="width: 130px;" class="title_search" type="text" name="dateBegin">-<input readonly="readonly" onfocus="WdatePicker({})" style="width: 130px;" class="title_search" type="text" name="dateEnd">
			</span>
			<span class="blue_search_btn">搜索</span>
			<a href="javascript:void(0);" class="export">导出</a>
		</div>
	</div>
	<div class="table_type" >
		<div style="margin-right: 17px; width: 1147;">
		<table border="1px" class="table">
			
		</table>
		</div>
		<div style="height: 500px; overflow-y: scroll; width: 1154px;">
        	<table  border="1px" class="table pledgeTable">
			</table>
        </div>
		<script type="text/template">
			<thead>
	            <tr>
	                <th rowspan="2">序号</th>
	                <th rowspan="2">客户</th>
	                <th rowspan="2">货名</th>
	                <th rowspan="2">合同号</th>
	                <th colspan="4">原质押货柜</th>
	                <th rowspan="2">质押率</th>
	                <th colspan="4">以箱换箱后质押货柜</th>
	                <th rowspan="2">质押率</th>
	                <th rowspan="2">最新状态</th>
	            </tr>
	            <tr>
	            	<th>箱号</th>
	            	<th>单价(元)</th>
	            	<th>重量(吨)</th>
	            	<th>评估价值(元)</th>
	            	<th>箱号</th>
	            	<th>单价(元)</th>
	            	<th>重量(吨)</th>
	            	<th>评估价值(元)</th>
	            </tr>
            </thead>
            <tbody>
	  			{@each datas as it, index}
	            <tr>
	            	<td>${index*1 + 1}</td>
	            	<td>${it.enterpriseName}</td>
	            	<td>
	            		{@each it.pickupBulkstocks as item}
	        				<div>${item.bulkstockName}(${item.specification})</div>
	            		{@/each}
	            		<div></div>
	            	</td>
	            	<td>${it.financeContractSerialNumber}</td>
	            	<td>
	            		{@each it.containerInventorys as item}
	        				<div>${item.caseNumber}</div>
	            		{@/each}
	            		<div></div>
	            	</td>
	            	<td>
	            		{@each it.containerInventorys as item}
	        				{@each item.containerBulkstocks as that}
	            				<div>${that.financePrice}</div>
	            			{@/each}
	            		{@/each}
	            		<div></div>
	            	</td>
	            	<td>
	            		{@each it.containerInventorys as item}
	        				{@each item.containerBulkstocks as that}
	            				<div>${that.weight}</div>
	            			{@/each}
	            		{@/each}
	            		<div></div>
	            	</td>
	            	<td>
	            		{@each it.containerInventorys as item}
	        				{@each item.containerBulkstocks as that}
	            				<div>${that.financeValuation}</div>
	            			{@/each}
	            		{@/each}
	            		<div class="valuationSum"></div>
	            	</td>
	            	<td>
	            		{@each it.containerInventorys as item}
	        				{@each item.containerBulkstocks as that}
	            				<div>${(that.financeValuation*100/that.evaluateValuation).toFixed(2)}%</div>
	            			{@/each}
	            		{@/each}
	            		<div></div>
	            	</td>
	            	<td>
	            		{@each it.exchangeContainerInventorys as item}
	        				<div>${item.caseNumber}</div>
	            		{@/each}
	            		<div></div>
	            	</td>
	            	<td>
	            		{@each it.exchangeContainerInventorys as item}
	        				{@each item.containerBulkstocks as that}
	            				<div>${that.financePrice}</div>
	            			{@/each}
	            		{@/each}
	            		<div></div>
	            	</td>
	            	<td>
	            		{@each it.exchangeContainerInventorys as item}
	        				{@each item.containerBulkstocks as that}
	            				<div>${that.weight}</div>
	            			{@/each}
	            		{@/each}
	            		<div></div>
	            	</td>
	            	<td>
	            		{@each it.exchangeContainerInventorys as item}
	        				{@each item.containerBulkstocks as that}
	            				<div>${that.financeValuation}</div>
	            			{@/each}
	            		{@/each}
	            		<div class="valuationSum"></div>
	            	</td>
	            	<td>
	            		{@each it.exchangeContainerInventorys as item}
	        				{@each item.containerBulkstocks as that}
	            				<div>${(that.financeValuation*100/that.evaluateValuation).toFixed(2)}%</div>
	            			{@/each}
	            		{@/each}
	            		<div></div>
	            	</td>
	            	<td>最新状态</td>
	            </tr>
	            {@/each}
	        </tbody>
        </script>
	</div>
</div>